package it.slothy.noveleditor.enumaration;

public enum Day {
	Monday(1,"Monday"),
	Tuesday(2,"Tuesday"),
	Wednesday(3,"Wednesday"),
	Thursday(4,"Thursday"),
	Friday(5,"Friday"),
	Saturday(6,"Saturaday"), 
	Sunday(7,"Sunday");
	
	private int id;
	private String name;
	
	Day(int i, String n){
		this.id = i;
		this.setName(n);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getId() {
		return id;
	}
	
}
